package com.example.utils;

import java.math.BigDecimal;

/**
 * @author m678709
 */
public class VersionUtils {

    public static BigDecimal getVersion(String version) {
        String versionStr = version.replaceAll("^[^\\d]+", "");
        return new BigDecimal(versionStr);
    }
}